#include "config.h"

const uint32 led1 = (1 << 18);

void delayns(uint32 dly) {
	uint32 i = 0;
	
	for ( ; dly > 0; dly--) {
		for (i = 0; i < 5000; i++);
	}
}

int main(void) {
	PINSEL2 = PINSEL2 & (~0x08);
	IO1DIR = led1;
	
	while (1) {
		IO1SET = led1;
		delayns(50);
		IO1CLR = led1;
		delayns(50);
	}
	return 0;
}